XSLSHEETS = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh

all: handbuch


fop:
	asciidoc -a lang=de -d book -b docbook octopus_handbuch.asciidoc 
	xsltproc -o octopus_handbuch.fo $(XSLSHEETS)/fo/docbook.xsl octopus_handbuch.xml
	fop octopus_handbuch.fo octopus_handbuch.pdf


handbuch: octopus_handbuch.asciidoc
	asciidoc -a lang=de -d book -b docbook octopus_handbuch.asciidoc 
	docbook2pdf octopus_handbuch.xml
	xpdf octopus_handbuch.pdf

jade:
	asciidoc -a lang=de -d book -b docbook octopus_handbuch.asciidoc
	jade -E 100000 -t tex -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl octopus_handbuch.xml 2> /dev/null

	pdfjadetex octopus_handbuch.tex

